ComponentOne DataObjects for .NET
Find(Object[]) Method

C1.Data.2 Assembly > C1.Data Namespace > C1DataView Class > Find Method : Find(Object[]) Method
An array of values to search for.
Finds a row in the data view by the specified sort key value.
Syntax
'Declaration
 
Public Overloads Function Find( _
   ByVal key() As System.Object _
) As System.Integer
public System.int Find( 
   System.object[] key
)

Parameters

key
An array of values to search for.
Remarks
This method applies only to sorted view, with a non-empty Sort. It returns the index of the first row in the data view containing the specified sort key value(s). If no such rows are found, it returns a negative number, which is the bitwise complement of the index of the row whose sort key is next to the specified sort key value.
See Also

Reference

C1DataView Class
C1DataView Members
Overload List